﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace BCEntity.TMS.RedPacket.RedPacketType
{
	/// <summary>
	/// 红包分类实体
	/// </summary>
	[Table("RedPacketType")]
	public class RedPacketTypeEntity
    {
		/// <summary>
		/// 红包类型Id
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public long RedPacketTypeId { get; set; }
        /// <summary>
        /// 红包类型
        /// </summary>
        public string RedPacketType { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public decimal RedPacketAmount { get; set; }
        /// <summary>
        /// 获取方式
        /// </summary>
        public string GrundlagenType { get; set; }
		/// <summary>
		/// 已启用
		/// </summary>
		public bool Enabled { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 创建人Id
		/// </summary>
		public long CreateAdminId { get; set; }
		/// <summary>
		/// 创建人姓名
		/// </summary>
		public string CreateAdminName { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime UpdateTime { get; set; }
		/// <summary>
		/// 修改人Id
		/// </summary>
		public long EditAdminId { get; set; }
		/// <summary>
		/// 修改人姓名
		/// </summary>
		public string EditAdminName { get; set; }
		/// <summary>
		/// 代理商id
		/// </summary>
		public long AgentRecordId { get; set; }
	}
}
